summaryrefslogtreecommitdiff
path: root/frontend/app/v2/[...path]
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/v2/[...path]')
-rw-r--r--frontend/app/v2/[...path]/page.tsx14
1 files changed, 0 insertions, 14 deletions
diff --git a/frontend/app/v2/[...path]/page.tsx b/frontend/app/v2/[...path]/page.tsx
deleted file mode 100644
index 3b4cbb8..0000000
--- a/frontend/app/v2/[...path]/page.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
1import { V2DirectoryView } from "@/components/v2/V2DirectoryView"
2import { Drive_ls } from "@/lib/drive_server"
3
4export default async function V2DirectoryPage({
5 params,
6}: {
7 params: Promise<{ path: string[] }>
8}) {
9 const { path: pathSegments } = await params
10 const currentPath = '/' + (pathSegments?.join('/') || '')
11
12 const files = await Drive_ls(currentPath, false)
13 return <V2DirectoryView path={currentPath} files={files} />
14} \ No newline at end of file